package xyz.xtt.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;
import xyz.xtt.admin.entity.TblCarouseImage;
import xyz.xtt.admin.request.CarouseImageRequest;
import xyz.xtt.admin.vo.CarouseImageVo;

import java.util.List;

/**
 * @author xugaopeng
 * @date 2024-12-11-16:54
 */
public interface ICarouseImageService extends IService<TblCarouseImage> {
    /**
     * 获取轮播图列表
     *
     * @param request
     * @return Page<CarouseImageVo>
     * @author xugaopeng
     * @date 2024/12/11 18:13
     **/
    Page<CarouseImageVo> getList(CarouseImageRequest request);

    boolean addCarouseImage(TblCarouseImage carouseImage, MultipartFile file);

    boolean delCarouseImages(List<Long> ids);

    boolean updateCarouse(TblCarouseImage carouseImage, MultipartFile file);
}
